<?php

use Illuminate\Http\Request;

/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| is assigned the "api" middleware group. Enjoy building your API!
|
*/

Route::get('captcha/{uuid}', 'CaptchaController@captcha')->aliasPermission('获取图片验证码');
Route::post('captcha/{uuid}', 'CaptchaController@verify')->aliasPermission('验证图片验证码');
